<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>微信扫码登入</title>
</head>
<body>



<div id="weixin" align="center"></div>

<script src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>

<script>
    var obj = new WxLogin({
        id: "weixin",
        appid: "wx3bdb1192c22883f3",
        scope: "snsapi_login",
        redirect_uri: encodeURIComponent("http://note.java.itcast.cn/weixinlogin"),
        state: Math.ceil(Math.random()*1000),
        style: "black"
    });
</script>


<!--待修改    修改到登入主页下 弹出一个二维码模态框-->



</body>
</html>